const Layout = () => import('../views/layout/Layout.vue')

// 定义pv相关的路由映射
export const pvRoutes = {
    path: "/pv",
    component: Layout,
    redirect: "/pv/list",
    children: [
        {
            path: 'list',
            component: ()=> import('../views/pv/List.vue')
        },
        {
            path: 'create',
            component: ()=> import('../views/pv/Create.vue')
        },
        {
            path: 'edit',
            component: ()=> import('../views/pv/Edit.vue')
        }
    ]
}

// 定义pvc路由映射
export const pvcRoutes = {
    path: "/pvc",
    component: Layout,
    redirect: "/pvc/list",
    children: [
        {
            path: 'list',
            component: ()=> import('../views/pvc/List.vue')
        },
        {
            path: 'create',
            component: ()=> import('../views/pvc/Create.vue')
        },
        {
            path: 'edit',
            component: ()=> import('../views/pvc/Edit.vue')
        }
    ]
}
